import request from './request'
// 企业列表
export const enterpriseList = params => {
  return request({
    url: '/enterprise/list',
    params
  })
}
// 新增
export const enterpriseAdd = data => {
  return request({
    url: '/enterprise/add',
    method: 'post',
    data
  })
}
// 编辑
export const enterpriseEdit = data => {
  return request({
    url: '/enterprise/edit',
    method: 'post',
    data
  })
}
// 删除
export const enterpriseRemove = data => {
  return request({
    url: '/enterprise/remove',
    method: 'post',
    data
  })
}

// 状态

export const enterpriseStatus = data => {
  return request({
    url: '/enterprise/status',
    method: 'post',
    data
  })
}
